[react Typescript] Layout Component With React Router Dom V6

[react Typescript] Layout Component With React Router Dom V6